import 'package:xin_he/generated/json/base/json_convert_content.dart';
import 'package:xin_he/page/login/model/xin_he_user_info_entity.dart';

XinHeUserInfoEntity $XinHeUserInfoEntityFromJson(Map<String, dynamic> json) {
	final XinHeUserInfoEntity xinHeUserInfoEntity = XinHeUserInfoEntity();
	final int? id = jsonConvert.convert<int>(json['id']);
	if (id != null) {
		xinHeUserInfoEntity.id = id;
	}
	final int? removed = jsonConvert.convert<int>(json['removed']);
	if (removed != null) {
		xinHeUserInfoEntity.removed = removed;
	}
	final String? remark = jsonConvert.convert<String>(json['remark']);
	if (remark != null) {
		xinHeUserInfoEntity.remark = remark;
	}
	final int? versionNum = jsonConvert.convert<int>(json['versionNum']);
	if (versionNum != null) {
		xinHeUserInfoEntity.versionNum = versionNum;
	}
	final int? createTime = jsonConvert.convert<int>(json['createTime']);
	if (createTime != null) {
		xinHeUserInfoEntity.createTime = createTime;
	}
	final int? updateTime = jsonConvert.convert<int>(json['updateTime']);
	if (updateTime != null) {
		xinHeUserInfoEntity.updateTime = updateTime;
	}
	final dynamic fCreateUserId = jsonConvert.convert<dynamic>(json['fCreateUserId']);
	if (fCreateUserId != null) {
		xinHeUserInfoEntity.fCreateUserId = fCreateUserId;
	}
	final dynamic fUpdateUserId = jsonConvert.convert<dynamic>(json['fUpdateUserId']);
	if (fUpdateUserId != null) {
		xinHeUserInfoEntity.fUpdateUserId = fUpdateUserId;
	}
	final int? fServiceId = jsonConvert.convert<int>(json['fServiceId']);
	if (fServiceId != null) {
		xinHeUserInfoEntity.fServiceId = fServiceId;
	}
	final int? fUserId = jsonConvert.convert<int>(json['fUserId']);
	if (fUserId != null) {
		xinHeUserInfoEntity.fUserId = fUserId;
	}
	final String? memberStatus = jsonConvert.convert<String>(json['memberStatus']);
	if (memberStatus != null) {
		xinHeUserInfoEntity.memberStatus = memberStatus;
	}
	final String? iconPath = jsonConvert.convert<String>(json['iconPath']);
	if (iconPath != null) {
		xinHeUserInfoEntity.iconPath = iconPath;
	}
	final String? nickname = jsonConvert.convert<String>(json['nickname']);
	if (nickname != null) {
		xinHeUserInfoEntity.nickname = nickname;
	}
	final String? name = jsonConvert.convert<String>(json['name']);
	if (name != null) {
		xinHeUserInfoEntity.name = name;
	}
	final String? mobile = jsonConvert.convert<String>(json['mobile']);
	if (mobile != null) {
		xinHeUserInfoEntity.mobile = mobile;
	}
	final String? code = jsonConvert.convert<String>(json['code']);
	if (code != null) {
		xinHeUserInfoEntity.code = code;
	}
	final String? parentCode = jsonConvert.convert<String>(json['parentCode']);
	if (parentCode != null) {
		xinHeUserInfoEntity.parentCode = parentCode;
	}
	final int? gender = jsonConvert.convert<int>(json['gender']);
	if (gender != null) {
		xinHeUserInfoEntity.gender = gender;
	}
	final String? level = jsonConvert.convert<String>(json['level']);
	if (level != null) {
		xinHeUserInfoEntity.level = level;
	}
	final dynamic adoptionDate = jsonConvert.convert<dynamic>(json['adoptionDate']);
	if (adoptionDate != null) {
		xinHeUserInfoEntity.adoptionDate = adoptionDate;
	}
	final String? role = jsonConvert.convert<String>(json['role']);
	if (role != null) {
		xinHeUserInfoEntity.role = role;
	}
	final int? adoptionNum = jsonConvert.convert<int>(json['adoptionNum']);
	if (adoptionNum != null) {
		xinHeUserInfoEntity.adoptionNum = adoptionNum;
	}
	final String? password = jsonConvert.convert<String>(json['password']);
	if (password != null) {
		xinHeUserInfoEntity.password = password;
	}
	final String? newReference = jsonConvert.convert<String>(json['newReference']);
	if (newReference != null) {
		xinHeUserInfoEntity.newReference = newReference;
	}
	final String? roleTwo = jsonConvert.convert<String>(json['roleTwo']);
	if (roleTwo != null) {
		xinHeUserInfoEntity.roleTwo = roleTwo;
	}
	final int? identifying = jsonConvert.convert<int>(json['identifying']);
	if (identifying != null) {
		xinHeUserInfoEntity.identifying = identifying;
	}
	final int? twoThawNo = jsonConvert.convert<int>(json['twoThawNo']);
	if (twoThawNo != null) {
		xinHeUserInfoEntity.twoThawNo = twoThawNo;
	}
	final int? threeThawNo = jsonConvert.convert<int>(json['threeThawNo']);
	if (threeThawNo != null) {
		xinHeUserInfoEntity.threeThawNo = threeThawNo;
	}
	final int? twoThawAdopted = jsonConvert.convert<int>(json['twoThawAdopted']);
	if (twoThawAdopted != null) {
		xinHeUserInfoEntity.twoThawAdopted = twoThawAdopted;
	}
	final int? threeThawAdopted = jsonConvert.convert<int>(json['threeThawAdopted']);
	if (threeThawAdopted != null) {
		xinHeUserInfoEntity.threeThawAdopted = threeThawAdopted;
	}
	final int? isImportMember = jsonConvert.convert<int>(json['isImportMember']);
	if (isImportMember != null) {
		xinHeUserInfoEntity.isImportMember = isImportMember;
	}
	final int? disengageNo = jsonConvert.convert<int>(json['disengageNo']);
	if (disengageNo != null) {
		xinHeUserInfoEntity.disengageNo = disengageNo;
	}
	return xinHeUserInfoEntity;
}

Map<String, dynamic> $XinHeUserInfoEntityToJson(XinHeUserInfoEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['id'] = entity.id;
	data['removed'] = entity.removed;
	data['remark'] = entity.remark;
	data['versionNum'] = entity.versionNum;
	data['createTime'] = entity.createTime;
	data['updateTime'] = entity.updateTime;
	data['fCreateUserId'] = entity.fCreateUserId;
	data['fUpdateUserId'] = entity.fUpdateUserId;
	data['fServiceId'] = entity.fServiceId;
	data['fUserId'] = entity.fUserId;
	data['memberStatus'] = entity.memberStatus;
	data['iconPath'] = entity.iconPath;
	data['nickname'] = entity.nickname;
	data['name'] = entity.name;
	data['mobile'] = entity.mobile;
	data['code'] = entity.code;
	data['parentCode'] = entity.parentCode;
	data['gender'] = entity.gender;
	data['level'] = entity.level;
	data['adoptionDate'] = entity.adoptionDate;
	data['role'] = entity.role;
	data['adoptionNum'] = entity.adoptionNum;
	data['password'] = entity.password;
	data['newReference'] = entity.newReference;
	data['roleTwo'] = entity.roleTwo;
	data['identifying'] = entity.identifying;
	data['twoThawNo'] = entity.twoThawNo;
	data['threeThawNo'] = entity.threeThawNo;
	data['twoThawAdopted'] = entity.twoThawAdopted;
	data['threeThawAdopted'] = entity.threeThawAdopted;
	data['isImportMember'] = entity.isImportMember;
	data['disengageNo'] = entity.disengageNo;
	return data;
}